package com.mall.dao;

import java.util.List;

import com.mall.bean.Order;
import com.mall.bean.User;

public interface OrderDao {
	//购买后插入订单表
	public int addOrder(Order order);

	//查询订单表中待付款的商品
	public User unplayGoods(Order order);

	//查询订单表中待发货的商品
	public User unsendGoods(Order order);

	//查询订单表中待收货的商品
	public User unreceiveGoods(Order order);

	//查询订单表中待评价的商品
	public User uncommnetGoods(Order order);

	//查询订单表中已退款的商品
	public User refundGoods(Order order);

	//查询订单表中正在售后的商品
	public User aftertSale(Order order);

	//购买成功删除订单
	public int deleteOrder(Order order);

	//查询所有订单
	public User showAllOrder(Order order);

	//更新订单
	public int updateOrder(Order order);
}
